package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 费用记录对象 fee_record
 * 
 * @author ruoyi
 * @date 2025-02-28
 */
public class FeeRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 费用记录ID */
    private Long recordId;

    /** 费用单号 */
    @Excel(name = "费用单号")
    private String recordCode;

    /** 费用明细(包含费用类型名称、部门id、金额) */
    @Excel(name = "费用明细(包含费用类型名称、部门id、金额)")
    private String feeDetails;

    /** 费用总金额 */
    @Excel(name = "费用总金额")
    private BigDecimal totalAmount;

    /** 费用发生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "费用发生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date feeDate;

    /** 费用说明 */
    @Excel(name = "费用说明")
    private String feeDescription;

    /** 状态（0待审核 1已审核 2已驳回） */
    @Excel(name = "状态", readConverterExp = "0=待审核,1=已审核,2=已驳回")
    private String status;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditBy;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    /** 审核备注 */
    @Excel(name = "审核备注")
    private String auditRemark;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setRecordCode(String recordCode) 
    {
        this.recordCode = recordCode;
    }

    public String getRecordCode() 
    {
        return recordCode;
    }
    public void setFeeDetails(String feeDetails) 
    {
        this.feeDetails = feeDetails;
    }

    public String getFeeDetails() 
    {
        return feeDetails;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setFeeDate(Date feeDate) 
    {
        this.feeDate = feeDate;
    }

    public Date getFeeDate() 
    {
        return feeDate;
    }
    public void setFeeDescription(String feeDescription) 
    {
        this.feeDescription = feeDescription;
    }

    public String getFeeDescription() 
    {
        return feeDescription;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setAuditBy(String auditBy) 
    {
        this.auditBy = auditBy;
    }

    public String getAuditBy() 
    {
        return auditBy;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }
    public void setAuditRemark(String auditRemark) 
    {
        this.auditRemark = auditRemark;
    }

    public String getAuditRemark() 
    {
        return auditRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("recordCode", getRecordCode())
            .append("feeDetails", getFeeDetails())
            .append("totalAmount", getTotalAmount())
            .append("feeDate", getFeeDate())
            .append("feeDescription", getFeeDescription())
            .append("status", getStatus())
            .append("auditBy", getAuditBy())
            .append("auditTime", getAuditTime())
            .append("auditRemark", getAuditRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
